from payment.pointsPayment import PointsPayment

class PointPaymentWithWarning(PointsPayment):
    def __init__(self, warning_threshold=200):
        super().__init__()
        self.warning_threshold = warning_threshold

    def pay(self, amount):
        message = super().pay(amount)
        if amount > self.warning_threshold:
            message += "，疑似潜在脱坑客户"
        return message
